package com.eloisa.gls.dao;

import java.io.Serializable;

/**
 * 
 * offer basic CRUD function, can make any extensions for further requirement
 * 
 * @see
 * {@link http://community.jboss.org/wiki/GenericDataAccessObjects}
 * 
 * @param <T>
 * @param <ID>
 */
public abstract interface IGenericDao <T,ID extends Serializable>{
	T findById(ID id);
	void update(T t);
	void create(T t);
	void delete(T t);
	

}
